﻿using System;

namespace ForFactorial
{
    class Program
    {
        static void Main(string[] args)
        {
            ulong factorial = 1;
            int n = 20; // max possible number

            for (uint i = 1; i <= n; i++)
            {
                factorial *= i;
                Console.WriteLine(i + "! = " + factorial);
            }


            Console.ReadKey();
        }
    }
}
